package com.ruoyi.labsafety.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 安全检查人员对象 lab_safety_check_rel_user
 * 
 * @author ruoyi
 * @date 2022-03-30
 */
public class LabSafetyCheckRelUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long safetyCheckRelUserId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 主键 */
    @Excel(name = "主键")
    private Long instanceId;

    public void setSafetyCheckRelUserId(Long safetyCheckRelUserId) 
    {
        this.safetyCheckRelUserId = safetyCheckRelUserId;
    }

    public Long getSafetyCheckRelUserId() 
    {
        return safetyCheckRelUserId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setInstanceId(Long instanceId) 
    {
        this.instanceId = instanceId;
    }

    public Long getInstanceId() 
    {
        return instanceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("safetyCheckRelUserId", getSafetyCheckRelUserId())
            .append("userId", getUserId())
            .append("instanceId", getInstanceId())
            .toString();
    }
}
